package org.pp.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Setter
@Getter
public class AdminMenuTreeVo {

    @Schema(description = "权限id")
    private Long menuId;

    @Schema(description = "父级Id")
    private Long pid;

    @Schema(description = "名称")
    private String name;

    @Schema(description = "图标")
    private String icon;

    @Schema(description = "后端权限标识")
    private String api;

    @Schema(description = "前端路由/按钮")
    private String route;

    @Schema(description = "0代表目录 1代表菜单 2代表按钮")
    private Integer type;

    @Schema(description = "排序")
    private Integer sort;

    List<AdminMenuTreeVo> children;
}
